//
//  Person.h
//  05 - 作业
//
//  Created by 韩旭 on 16/7/8.
//  Copyright © 2016年 基础. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) NSInteger age;
@property (nonatomic, copy) NSString *sex;
- (instancetype)initWithName:(NSString *)name
                         Age:(NSInteger)age
                         Sex:(NSString *)sex;
- (NSComparisonResult)compareName:(Person *)person;
- (NSComparisonResult)compareAge:(Person *)person;
@end
